package com.yonyou.brigade.ybz.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.yonyou.brigade.ybz.model.BriOrderNote;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author duhqh@yonyou.com
 * @since 2018-10-20
 */
public interface IBriOrderNoteService extends IService<BriOrderNote> {

    void updateOrderBxState(List<String> notePks, int state);

    Map<String,List<String>> getNotePksByYBZIds(Map<String,List<String>> map);

    void updateNoteState(Map<String,Map<String,Integer>> noteStates);

    JSONObject getNoteInfosByApplyIds(String tenant, Map params);

    JSONArray convert(JSONArray params);

}
